﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Rec_RoomCollection : List<Rec_Room>
    { 
         public int IndexOf(Rec_Room item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Rec_Room item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Rec_Room this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Rec_Room item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Rec_Room item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Rec_Room[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Rec_Room item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Rec_Room> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Rec_Room
    {
        private int _IdRoom;

        public int IdRoom
        {
            get { return _IdRoom; }
            set { _IdRoom = value; }
        }
        private string _RoomCode;

        public string RoomCode
        {
            get { return _RoomCode; }
            set { _RoomCode = value; }
        }
        private string _RoomName;

        public string RoomName
        {
            get { return _RoomName; }
            set { _RoomName = value; }
        }
        private string _Address;

        public string Address
        {
            get { return _Address; }
            set { _Address = value; }
        }
        private int _IdRoomType;

        public int IdRoomType
        {
            get { return _IdRoomType; }
            set { _IdRoomType = value; }
        }
        private int _IdFloor;

        public int IdFloor
        {
            get { return _IdFloor; }
            set { _IdFloor = value; }
        }
        private Int16 _MaxPerson;

        public Int16 MaxPerson
        {
            get { return _MaxPerson; }
            set { _MaxPerson = value; }
        }
        private Int16 _CurentPerson;

        public Int16 CurentPerson
        {
            get { return _CurentPerson; }
            set { _CurentPerson = value; }
        }
        private string _Phone;

        public string Phone
        {
            get { return _Phone; }
            set { _Phone = value; }
        }
        private string _Description;

        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }
        private int _Status;

        public int Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
        private int _IDBD;

        public int IDBD
        {
            get { return _IDBD; }
            set { _IDBD = value; }
        }
        private String _TuNgay;

        public String TuNgay
        {
            get { return _TuNgay; }
            set { _TuNgay = value; }
        }
        private String _DenNgay;

        public String DenNgay
        {
            get { return _DenNgay; }
            set { _DenNgay = value; }
        }
    }
}
